package cn.tedu.order.entity;



import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * 订单实体类
 * @author 郭鲁政
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Order {
    private Long id;
    /**
     * 用户ID
     */
    private Long userId;
    /**
     * 商品ID
     */
    private Long productId;
    /**
     * 买多少件
     */
    private Integer count;
    /**
     * 花多少钱
     */
    private BigDecimal money;
    /**
     * 状态
     */
    private Integer status;
}

